home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo 1.0.1 / UMouseInfo.h < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.1 KB  |  57 lines  |  [TEXT/MPS ]

  1. //     UMouseInfo.h 
  2. //     Copyright © 1992 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TMapApplication class, the base application class
  5. //    for the MouseInfo application
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. // INCLUDE FILES
  13.  
  14. #ifndef __MOUSEINFO__
  15. #define __MOUSEINFO__
  16.  
  17. #ifndef __INCLUDEFILES__
  18. #include "IncludeFiles.h"
  19. #endif
  20.  
  21. #ifndef __MOUSEDOCUMENT__
  22. #include "UMouseDocument.h"
  23. #endif
  24.  
  25. #ifndef __APPFRAMEADORNER__
  26. #include "UAppFrameAdorner.h"
  27. #endif
  28.  
  29. //    Our About Box support
  30. #ifndef __ABOUT__
  31. #include "About.h"
  32. #endif
  33.  
  34.  
  35.  
  36. //    CLASSES
  37. //    TMapApplication, our application class
  38. class TMapApplication : public TApplication
  39. {
  40. public:
  41.     TMapApplication();
  42.     virtual pascal void IMapApplication(OSType fileType,
  43.                                         OSType creator);
  44.     virtual pascal TDocument* DoMakeDocument(CommandNumber,
  45.                                              TFile*);
  46.  
  47.     virtual pascal void DoAboutBox();
  48.  
  49.     virtual pascal RgnHandle GetSleepRegion();
  50. };
  51.  
  52.  
  53.  
  54.  
  55. #endif __MOUSEINFO__
  56.  
  57.